package com.wyl.auth.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2025/4/22 21:14
 */
@Data
public class SseMessage implements Serializable {


    /**
     * 状态码 200为成功，其他为失败
     * HttpServletResponse.SC_OK
     * HttpServletResponse.SC_INTERNAL_SERVER_ERROR
     */
    private Integer code;

    /**
     * 消息类型
     *
     */
    private Integer type;
    /**
     * 数据
     */
    private String data;

    /**
     * 推送时间
     */
    private String putTime;
}